<?php

/**
 * $Id: tv_url_helper.php 2942 2012-02-20 10:48:18Z huong.pham $
 * @author : Huong Pham
 */
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
//Return safe parameter before paste to query : strip quote, convert html tag.
if (!function_exists('safeParam')) {

    function safeParam($param) {
        return quotes_to_entities(htmlspecialchars($param));
    }

}
if (!function_exists('templateUrl')) {

    function templateUrl() {
        return base_url() . "htdocs/";
    }

}
?>